Carbon


MoveTo

Header: Quickdraw.h Carbon status: Supported

Moves the graphics pen to a particular location in the current graphics port.

void MoveTo (
    SInt16 h, 
    SInt16 v
);
h

The horizontal coordinate of the graphics pen’s new position.

v

The vertical coordinate of the graphics pen’s new position.

DISCUSSION

The MoveTo function changes the graphics pen’s current location to the new horizontal coordinate you specify in the h parameter and the new vertical coordinate you specify in the v parameter. Specify the new location in the local coordinates of the current graphics port. The MoveTo function performs no drawing.

AVAILABILITY

Supported in Carbon. Available in CarbonLib 1.0 and later when InterfaceLib 7.1 or later is installed. Exported by CarbonLib 1.0 and later and by InterfaceLib 7.1 and later.


© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)